package com.alibaba.citrus.ots.sales.plan.sdo;

import lombok.Data;

import java.util.Date;
import java.util.Map;

@Data
public class MonthlyCommerceSDO {

    private Long id;

    //业务单元名称
    private String orgBusinessName;

    //业务单元编码
    private String orgBusinessCode;

    //计划年月
    private String planTime;

    //销售组织编码
    private String orgSaleOrganizationCode;

    //客户名称
    private String customerName;

    //客户编码
    private String customerCode;

    //电商平台
    private String commercePlatform;

    //货品组名称
    private String scItemGroupDesc;

    //货品组编码
    private String scItemGroupCode;

    //货品名称
    private String scItemName;

    //货品编码
    private String outerId;

    //本月计划量
    private Integer monthPlannedQuantity;

    //本月回复量
    private Integer monthReturnCount;

    //本月修正确定量
    private Integer monthReviseConfirmCount;

    //上旬计划量
    private Integer monthFirstPlannedQuantity;

    //上旬回复量
    private Integer monthFirstReturnCount;

    //上旬修正确定量
    private Integer monthFirstReviseConfirmCount;

    //中旬计划量
    private Integer monthMiddlePlannedQuantity;

    //中旬回复量
    private Integer monthMiddleReturnCount;

    //中旬修正确定量
    private Integer monthMiddleReviseConfirmCount;

    //下旬计划量
    private Integer monthLastPlannedQuantity;

    //下旬回复量
    private Integer monthLastReturnCount;

    //下旬修正确定量
    private Integer monthLastReviseConfirmCount;

    //修改人
    private String updater;

    //修改时间
    private Date gmtModified;

    //创建人
    private String creator;

    //创建时间
    private Date gmtCreate;

    /**
     * 货品信息
     * title：货品id
     * subTitle：货品biam
     */
    private Map<String, String> scItemInfo;



    /**
     * 开始时间
     */
    private Date startTime;

    /**
     * 结束时间
     */
    private Date endTime;

    private String formatPlanTime;


    //销售渠道名称
    private String orgSalesChannelName;

    /**
     * 客户信息
     * title:客户名称
     * subTitle： 客户编码
     */
    private Map<String, String> customerInfo;


    //本月五日调整量=本月汇总量-本月回复量
    private Integer monthSummaryCount;

    //上旬五日调整量”=上旬汇总量-上旬回复量
    private Integer monthFirstSummaryCount;

    //中旬五日调整量”=中旬汇总量-中旬回复量
    private Integer monthMiddleSummaryCount;

    //下旬五日调整量”=下旬汇总量-下旬回复量
    private Integer monthLastSummaryCount;

    //电商平台编码
    private String commercePlatformCode;

    //渠道ID
    private String orgSalesChannelCode;
}
